WP_Defender\Component\Audit A

Total Complexity 55
Dependencies 17
Dependents 1
Total lines 378
Lines of code 247
Logical lines of code 135
Comment lines 78
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
fetch()
A
45 9 43
socket_to_api()
A
45 9 40
enqueue_event_listener()
A
47 9 36
log_audit_events()
A
54 10 20
flush()
S
55 5 21
query_from_api()
S
49 3 32
audit_clean_up_logs()
S
58 3 15
open_socket()
S
59 3 15
curl_to_api()
S
60 1 15
get_endpoint()
S
74 2 5
strip_protocol()
S
71 1 5